package com.hs.sfzy.entity;

import com.fasterxml.jackson.annotation.JsonFormat;
import lombok.Data;
import org.springframework.format.annotation.DateTimeFormat;

import java.util.Date;

/**
 * @ClassName SeleArt
 * @Description TODO
 * @Author liuzhuo
 * @Date 2025年08月13日 14:53
 * @Version 1.0
 */
@Data
public class SeleArt {
//    精选文章表
    private int id;
    private String title;
    private String subTitle;
    private String content;
    private String listImage;
    private int likeCount;
    @DateTimeFormat(pattern ="yyyy-MM-dd")
    @JsonFormat(pattern ="yyyy-MM-dd",timezone = "GMT+8")
    private Date publishTime;
    private int author;
}
